package com.david.videoapp

class ChannelBean {
    var url: String = ""
    var title:String = ""

    override fun equals(other: Any?): Boolean {
        return when (other) {
            this -> {
                true
            }
            is ChannelBean -> url == other.url && title == other.title
            else -> {
                false
            }
        }
    }
}